package ssm框架整体流程实现.main.java.com.itheima.controller;

/**
 * 响应状态码,倒数第二位表示增删改查操作，最后一位1表示成功，0表示失败
 */
public class Code {
    //定义为静态变量
    //操作成功
    public static final Integer SAVE_OK=20011;
    public static final Integer DELETE_OK=20021;
    public static final Integer UPDATE_OK=20031;
    public static final Integer SELECT_OK=20041;

    //操作失败
    public static final Integer SAVE_ERR=20010;
    public static final Integer DELETE_ERR=20020;
    public static final Integer UPDATE_ERR=20030;
    public static final Integer SELECT_ERR=20040;
}
